//
//  SFNavigationBarData.h
//  SFNavigationBarManager_Example
//
//  Created by shen on 2021/11/17.
//  Copyright © 2021 yangshen. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, SFNavigationBarStyle) {
    SFNavigationBarStyleWhite = 0,
    SFNavigationBarStyleCyan,
    SFNavigationBarStyleYellow,
    SFNavigationBarStyleOrange,
    SFNavigationBarStyleLightGray,
    SFNavigationBarStyleNoValue,
    SFNavigationBarStyleTransparent,
};

@interface UIImage (FromColor)
+ (UIImage *)imageWithColor:(UIColor *)color;
@end

@interface SFNavigationBarData : NSObject

+ (NSString *)nameWithStyle:(SFNavigationBarStyle)style;
+ (UIColor *)barTintColorWithStyle:(SFNavigationBarStyle)style;
+ (UIImage *)barImageWithStyle:(SFNavigationBarStyle)style;

@property (nonatomic, assign) NSInteger barColorIndex;
@property (nonatomic, assign) NSInteger barImageIndex;
@property (nonatomic, assign) BOOL navBarHidden;
@property (nonatomic, assign) BOOL shaowImageHidden;

@end
